<?php

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

namespace Admin\Model;

/**
 * Description of StudentModel
 *
 * @author gc
 */
class StudentModel extends \Think\Model
{

    public function getStudentById($id)
    {
        $map['id'] = $id;
        return M("Student")->where($map)->find();
    }

}
